import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            redirect: '/home'
        },
        {
            path: '/home',
            component: () => import(/* webpackChunkName: "home" */ '../components/common/Home.vue'),
            meta: [{ name: '首页' }],
            children: [
                {
                    path: '/home',
                    component: () => import(/* webpackChunkName: "404" */ '../components/page/home.vue'),
                    meta: []
                },
                {
                    path: '/404',
                    component: () => import(/* webpackChunkName: "404" */ '../components/page/404.vue'),
                    meta: [{ name: '404' }]
                },
                {
                    path: '/403',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/403.vue'),
                    meta: [{ name: '403' }]
                },
                {
                    path: '/system403',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/system403.vue'),
                    meta: [{ name: '403' }]
                },
                {
                    path: '/message',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/message.vue'),
                    meta: [{ name: '消息中心' }]
                },
            //   中控
                {
                    path: '/goverment',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/goverment/goverment.vue'),
                    meta: [{ name: '政府客户' }]
                },
                {
                    path: '/goverment/addgoverment',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/goverment/added.vue'),
                    meta: [{ name: '政府客户',url:'/goverment' },
                        {name:'新增'}
                    
                    ]
                },
                {
                    path: '/goverment/checkgoverment',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/goverment/check.vue'),
                    meta: [{ name: '政府客户',url:'/goverment' },
                        {name:'查看'}
                    
                    ]
				},
				{
                    path: '/advertisingManagement',
                    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/advertisingManagement/index.vue'),
                    meta: [{ name: '广告管理' }]
                },
				{
				    path: '/firm',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/firm/firm.vue'),
				    meta: [{ name: '企业客户' }]
				},
				{
				    path: '/firm/addedfirm',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/firm/added.vue'),
				    meta: [{ name: '企业客户',url:'/firm' },
				        {name:'新增'}
				    
				    ]
				},
				{
				    path: '/firm/checkfirm',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/firm/check.vue'),
				    meta: [{ name: '企业客户',url:'/firm' },
				        {name:'查看'}
				    
				    ]
				},
				{
				    path: '/firm/deploy',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/firm/deploy.vue'),
				    meta: [{ name: '企业客户',url:'/firm' },
				        {name:'审核'}
				    
				    ]
				},
				{
				    path: '/agent',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/agent/agent.vue'),
				    meta: [{ name: '代理商' }]
				},
				{
				    path: '/agent/addedagent',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/agent/added.vue'),
				    meta: [{ name: '代理商',url:'/agent' },
				        {name:'新增'}
				    
				    ]
				},
				{
				    path: '/agent/checkagent',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/agent/check.vue'),
				    meta: [{ name: '代理商',url:'/agent' },
				        {name:'查看'}
				    
				    ]
				},
				{
				    path: '/agent/deploy',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/agent/deploy.vue'),
				    meta: [{ name: '代理商',url:'/agent' },
				        {name:'审核'}
				    
				    ]
				},
				{
				    path: '/productManagement',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/productManagement/index.vue'),
				    meta: [{ name: '产品管理'},]
				},
				{
				    path: '/productManagement/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/productManagement/added.vue'),
				    meta: [{ name: '产品管理',url:'/productManagement'},
						{name:'新增'}
					]
				},
				{
				    path: '/productManagement/addedpermission',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/productManagement/addedpermission.vue'),
				    meta: [{ name: '产品管理',url:'/productManagement'},
						{name:'新增权限'}
					]
				},
				{
				    path: '/productManagement/deploy',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/productManagement/deploy.vue'),
				    meta: [{ name: '产品管理',url:'/productManagement'},
						{name:'产品配置'}
					]
				},
				{
				    path: '/productManagement/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/productManagement/check.vue'),
				    meta: [{ name: '产品管理',url:'/productManagement'},
						{name:'查看'}
					],
				},
				{
				    path: '/modelbase',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/modelbase/modelbase.vue'),
				    meta: [{ name: '模型库'},]
				},
				{
				    path: '/modelbase/addedzw',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/modelbase/addedzw.vue'),
					meta: [{ name: '模型库',url:'/modelbase'},
						{name:'新增作物'}
					]
				},
				{
				    path: '/modelbase/addedfl',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/modelbase/addedfl.vue'),
					meta: [{ name: '模型库',url:'/modelbase'},
						{name:'新增分类'}
					]
				},
				{
				    path: '/modelbase/editfl',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/modelbase/addedfl.vue'),
					meta: [{ name: '模型库',url:'/modelbase'},
						{name:'修改'}
					]
				},
				
				{
				    path: '/modelbase/cropcheck',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/centerContoral/modelbase/cropcheck.vue'),
					meta: [{ name: '模型库',url:'/modelbase'},
						{name:'查看作物'}
					]
				},
				
				{
                    path: '/company',
                    component: () => import('../components/page/centerContoral/company/companyList.vue'),
                    meta: { title: '企业列表' ,app:"control"}
                }, {
                    path: '/company/add',
                    component: () => import( '../components/page/centerContoral/company/companyAdd.vue'),
                    meta: { title: '添加/编辑企业' ,app:"control"}
                }, {
                    path: '/company/view',
                    component: () => import( '../components/page/centerContoral/company/companyView.vue'),
                    meta: { title: '企业查看' ,app:"control"}
                },
				// {
    //                 path: '/company/resources',
    //                 component: () => import( '../components/page/centerContoral/company/companyResourceList.vue'),
    //                 meta: { title: '企业功能' ,app:"control"}
    //             },
				{
                    path: '/app',
                    component: () => import( '../components/page/centerContoral/security/TraceApp.vue'),
                    meta: { title: '应用列表',app:"control" },
					
                }, {
                    path: '/app/roles',
                    component: () => import( '../components/page/centerContoral/security/ResourceList.vue'),
                    meta: { title: '应用功能',app:"control"}
                } ,
				// {
				//     path: '/list',
				//     component: () => import('../components/page/centerContoral/company/companyList.vue'),
				//     meta: { title: '企业列表' ,app:"control"}
				// }, 
				// {
				//     path: '/add',
				//     component: () => import( '../components/page/centerContoral/company/companyAdd.vue'),
				//     meta: { title: '添加/编辑企业' ,app:"control"}
				// },
				// {
				//     path: '/list/view',
				//     component: () => import( '../components/page/centerContoral/company/companyView.vue'),
				//     meta: { title: '企业查看' ,app:"control"}
				// },
				{
				    path: '/resources',
				    component: () => import( '../components/page/centerContoral/company/companyResourceList.vue'),
				    meta: { title: '企业功能' ,app:"control"}
				}, 
				// {
				//     path: '/applist',
				//     component: () => import( '../components/page/centerContoral/security/TraceApp.vue'),
				//     meta: { title: '应用列表',app:"control" }
				// }, 
				// {
				//     path: '/approles',
				//     component: () => import( '../components/page/centerContoral/security/ResourceList.vue'),
				//     meta: { title: '应用功能',app:"control"}
				// } ,
				
				// 中药材种植
				
				
				
				{
				    path: '/base',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/base/base.vue'),
				    meta: [{ name: '基地管理'},
						
					]
				},
				{
				    path: '/inputs',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/inputs/inputs.vue'),
				    meta: [{ name: '投入品管理'},
						
					]
				},
				{
				    path: '/inputs/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/inputs/added.vue'),
				    meta: [{ name: '投入品管理',url:'/inputs'},
						{name:'新增'}
					]
				},{
				    path: '/inputs/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/inputs/check.vue'),
				    meta: [{ name: '投入品管理',url:'/inputs'},
						{name:'查看'}
					]
				},
				{
				    path: '/plant',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/plant/plant.vue'),
				    meta: [{ name: '种植管理'},
						
					]
				},
				{
				    path: '/plant/tending',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/plant/tending.vue'),
				    meta: [{ name: '种植管理',url:'/plant'},
						{name:'田间管理'}
					]
				},
				{
				    path: '/plant/tending/addtending',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/plant/addtending.vue'),
				    meta: [{ name: '种植管理',url:'/plant'},
						{name:'田间管理',url:'/plant/tending'},
						{name:'新增'}
					]
				},
				{
				    path: '/plant/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/plant/added.vue'),
				    meta: [{ name: '种植管理',url:'/plant'},
						{name:'新增'}
					]
				},
				{
				    path: '/plant/rw',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/plant/taskAnnouncement.vue'),
				    meta: [{ name: '种植管理',url:'/plant'},
						{name:'任务发布'}
					]
				},
				{
				    path: '/recovery',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/recovery/recovery.vue'),
				    meta: [{ name: '采收管理'},
						
					]
				},
				{
				    path: '/recovery/addrecovery',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/recovery/addrecovery.vue'),
					meta: [{ name: '采收管理',url:'recovery'},
						{name:"新增"}
						
					]
				},
				{
				    path: '/recovery/checkrecovery',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/recovery/checkrecovery.vue'),
					meta: [{ name: '采收管理',url:'recovery'},
						{name:"查看"}
						
					]
				},
				{
				    path: '/process',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/process/process.vue'),
					meta: [{ name: '加工管理'},
					
						
					]
				},
				{
				    path: '/process/addprocess',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/process/addprocess.vue'),
					meta: [{ name: '加工管理',url:'/process'},
							{name:'新增'}
						
					]
				},
				{
				    path: '/process/checkprocess',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/process/checkprocess.vue'),
					meta: [{ name: '加工管理',url:'/process'},
						{name:'查看'}
						
					]
				},
				{
				    path: '/examination',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/examination/examination.vue'),
				    meta: [{ name: '检验检测'},
						
					]
				},
				{
				    path: '/examination/detection',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/examination/detection.vue'),
				    meta: [{ name: '检验检测',url:'examination'},
						{name:'检测'}
					]
				},
				{
				    path: '/examination/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/examination/check.vue'),
				    meta: [{ name: '检验检测',url:'examination'},
						{name:'查看'}
					]
				},
				{
				    path: '/subcontract',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/subcontract/subcontract.vue'),
				    meta: [{ name: '分包管理'},
						
					]
				},
				{
				    path: '/subcontract/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/subcontract/added.vue'),
				    meta: [{ name: '分包管理',url:'subcontract'},
						{name:'分包'}
					]
				},
				{
				    path: '/subcontract/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/subcontract/check.vue'),
				    meta: [{ name: '分包管理',url:'subcontract'},
						{name:'查看'}
					]
				},
				{
				    path: '/tagging',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/tagging/tagging.vue'),
				    meta: [{ name: '赋码管理'},
						
					]
				},
				{
				    path: '/tagging/certification',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/tagging/certification.vue'),
				    meta: [{ name: '赋码管理',url:'/tagging'},
						{name:'新增合格证'}
					]
				},
				{
				    path: '/digitalMap',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/digitalMap/digitalMap.vue'),
				    meta: [{ name: '数字地图'},
						
					]
				},
				{
				    path: '/warehouseManagement',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/warehouseManagement/index.vue'),
				    meta: [{ name: '仓储管理'},
						
					]
				},
				{
				    path: '/warehouseManagement/putInStorage',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/warehouseManagement/putInStorage.vue'),
				    meta: [{ name: '仓储管理',url:'warehouseManagement'},
						{name:'入库'}
					]
				},
				{
				    path: '/warehouseManagement/forOutBound',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/warehouseManagement/forOutBound.vue'),
				    meta: [{ name: '仓储管理',url:'warehouseManagement'},
						{name:'待出库'}
					]
				},
				{
				    path: '/warehouseManagement/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/warehouseManagement/check.vue'),
				    meta: [{ name: '仓储管理',url:'warehouseManagement'},
						{name:'明细'}
					]
				},
				{
				    path: '/warehouseManagement/conserve',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/warehouseManagement/conserve.vue'),
				    meta: [{ name: '仓储管理',url:'warehouseManagement'},
						{name:'养护'}
					]
				},
			// 生产种植的系统设置
				{
				    path: '/unit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/unit/index.vue'),
				    meta: [{ name:"单位管理"},
						
					]
				},
				{
				    path: '/facility',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/facility/facility.vue'),
				    meta: [{ name:"设备管理"},
						
					]
				},
				{
				    path: '/facility/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/facility/added.vue'),
				    meta: [{ name:"设备管理",url:'/facility'},
						{ name:"新增"},
					]
				},
				{
				    path: '/maintenance',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/maintenance/maintenance.vue'),
				    meta: [{ name:"仓储养护"},
						
					]
				},
				{
				    path: '/maintenance/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/maintenance/added.vue'),
				    meta: [{ name:"仓储养护",url:'/maintenance'},
						{ name:"新增"},
					]
				},
				{
				    path: '/maintenance/edit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/maintenance/added.vue'),
				    meta: [{ name:"仓储养护",url:'/maintenance'},
						{ name:"编辑"},
					]
				},
				
				{
				    path: '/grading',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/grading/grading.vue'),
				    meta: [{ name:"分级标准"},
						
					]
				},{
				    path: '/grading/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/grading/added.vue'),
				    meta: [{ name:"分级标准",url:"/grading"},
						{name:'新增'}
					]
				},
				{
				    path: '/grading/edit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/grading/added.vue'),
				    meta: [{ name:"分级标准",url:"/grading"},
						{name:'编辑'}
					]
				},
				{
				    path: '/supplier',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/supplier/supplier.vue'),
				    meta: [{ name:"供应商管理"},
						
					]
				},
				{
				    path: '/supplier/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/supplier/added.vue'),
				    meta: [{ name:"供应商管理",url:'/supplier'},
						{name:"新增"}
					]
				},
				{
				    path: '/supplier/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/supplier/check.vue'),
				    meta: [{ name:"供应商管理",url:'/supplier'},
						{name:"查看"}
					]
				},
				{
				    path: '/supplier/edit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/supplier/added.vue'),
				    meta: [{ name:"供应商管理",url:'/supplier'},
						{name:"编辑"}
					]
				},
				{
				    path: '/client',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/client/client.vue'),
				    meta: [{ name:"客户管理"},
						
					]
				},
				{
				    path: '/client/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/client/added.vue'),
				    meta: [{ name:"客户管理",url:'/client'},
						{name:"新增"}
					]
				},
				{
				    path: '/client/check',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/client/check.vue'),
				    meta: [{ name:"客户管理",url:'/client'},
						{name:"查看"}
					]
				},
				{
				    path: '/checkingBasis',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/checkingBasis/index.vue'),
				    meta: [{ name:"检测依据"},
						
					]
				},
				{
				    path: '/checkingBasis/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/checkingBasis/added.vue'),
				    meta: [{ name:"检测依据",url:'/checkingBasis'},
						{name:'新增'}
					]
				},
				{
				    path: '/checkingBasis/edit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/checkingBasis/added.vue'),
				    meta: [{ name:"检测依据",url:'/checkingBasis'},
						{name:'编辑'}
					]
				},
				{
				    path: '/processlist',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/processlist/processlist.vue'),
				    meta: [{ name:"工艺工序"},
					]
				},
				{
				    path: '/processlist/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/processlist/added.vue'),
					meta: [{ name:"工艺工序",url:'/processlist'},
					{name:'新增'}
					]
				},
				{
				    path: '/processlist/edit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/processlist/added.vue'),
					meta: [{ name:"工艺工序",url:'/processlist'},
					{name:'编辑'}
					]
				},
				{
				    path: '/products',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/products/index.vue'),
					meta: [{ name:"产品信息"},
					
					]
				},{
				    path: '/products/added',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/products/added.vue'),
					meta: [{ name:"产品信息",url:'/products'},
					{name:'新增'}
					]
				},
				{
				    path: '/products/edit',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/products/added.vue'),
					meta: [{ name:"产品信息",url:'/products'},
					{name:'编辑'}
					]
				},
				{
				    path: '/personal',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/personal/personal.vue'),
					meta: [{ name:"个人中心"},
				
					]
				},
				{
				    path: '/staffsManagement',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/staffsManagement/index.vue'),
					meta: [{ name:"员工管理"}, 
				
					]
				},
				{
				    path: '/staffsManagement/addedstaff',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/staffsManagement/addedstaff.vue'),
					meta: [{ name:"员工管理",url:'/staffsManagement'}, 
						{name:'新增'}
					]
				},
				{
				    path: '/permission',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/permission/permission.vue'),
					meta: [{ name:"权限管理"}, 
						
					]
				},
				{
				    path: '/companys',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/company/company.vue'),
					meta: [{ name:"企业设置"}, 
				
					]
				},
				{
				    path: '/basesource',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/basesource/basesource.vue'),
					meta: [{ name:"基源管理"}, 
				
					]
				},
				{
				    path: '/basesource/addzw',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/basesource/addzw.vue'),
					meta: [{ name:"基源管理",url:'/basesource'}, 
						{name:'新增作物'}
					]
				},
				{
				    path: '/basesource/cropcheck',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/systemSetup/basesource/cropcheck.vue'),
					meta: [{ name:"基源管理",url:'/basesource'}, 
						{name:'查看作物'}
					]
				},
				{
						path: '/review',
						component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/review/review.vue'),
					meta: [{ name:"追溯查询"}, 
			
					]
				},
				{
					path: '/review/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/review/checkreview.vue'),
					meta: [{ name: '追溯查询',url:'/review'},
					{name:'追溯查询'}
					]
				},
				{
					path: '/order',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/order/order.vue'),
					meta: [{ name:"订单管理"}, 
				
					]
				},
				{
					path: '/order/add',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/medicinalCrop/order/addorder.vue'),
					meta: [{ name:"订单管理",url:'/order'},
					{ name:"新增订单"}, 
					]
				},
				
// 养殖    
				{
					path: '/yzinputs',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/inputs/index.vue'),
					meta: [{ name:"投入品管理"}, 
				
					]
				},
				{
					path: '/yzinputs/addInputs',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/inputs/addInputs.vue'),
					meta: [{ name:"投入品管理",url:'/yzinputs'}, 
						{name:'新增投入品'}
					]
				},
				{
					path: '/yzinputs/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/inputs/check.vue'),
					meta: [{ name:"投入品管理",url:'/yzinputs'}, 
						{name:'查看'}
					]
				},
				{
					path: '/yzbreeding',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/breedingManagement/index.vue'),
					meta: [{ name:"养殖管理"}, 
					
					]
				},
				{
					path: '/yzbreeding/added',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/breedingManagement/added.vue'),
					meta: [{ name:"养殖管理",url:'/yzbreeding'}, 
						{name:'新增养殖计划'}
					]
				},
				{
					path: '/yzbreeding/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/breedingManagement/check.vue'),
					meta: [{ name:"养殖管理",url:'/yzbreeding'}, 
						{name:'查看'}
					]
				},
				{
					path: '/yzbreeding/feed',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/breedingManagement/feed.vue'),
					meta: [{ name:"养殖管理",url:'/yzbreeding'}, 
						{name:'喂养'}
					]
				},
				{
					path: '/yzmultiply',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/multiplyManagement/index.vue'),
					meta: [{ name:"繁殖管理"}, 
					
					]
				},
				{
					path: '/yzmultiply/added',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/multiplyManagement/added.vue'),
					meta: [{ name:"繁殖管理",url:'/yzmultiply'}, 
						{name:'新增繁殖'}
					]
				},
				{
					path: '/yzmultiply/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/multiplyManagement/check.vue'),
					meta: [{ name:"繁殖管理",url:'/yzmultiply'}, 
						{name:'查看'}
					]
				},
				{
					path: '/yzoutput',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/outputMManagement/index.vue'),
					meta: [{ name:"产出物管理"}, 
					
					]
				},
				{
					path: '/yzoutput/added',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/outputMManagement/added.vue'),
					meta: [{ name:"产出物管理",url:'/yzoutput'}, 
						{name:'新增产出物'}
					]
				},
				{
					path: '/yzoutput/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/outputMManagement/check.vue'),
					meta: [{ name:"产出物管理",url:'/yzoutput'}, 
						{name:'查看'}
					]
				},
				{
					path: '/yzantiepidemic',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/antiepidemic/index.vue'),
					meta: [{ name:"防疫管理"}, 
					
					]
				},
				{
					path: '/yzantiepidemic/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/antiepidemic/check.vue'),
					meta: [{ name:"防疫管理",url:'/yzantiepidemic'}, 
						{name:"查看"}
					]
				},
				{
					path: '/yzantiepidemic/anti',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/antiepidemic/anti.vue'),
					meta: [{ name:"防疫管理",url:'/yzantiepidemic'},
						{name:"防疫"}
					]
				},
				{
					path: '/yzquarantine',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/quarantine/index.vue'),
					meta: [{ name:"检疫管理"}, 
					
					]
				},
				{
					path: '/yzquarantine/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/quarantine/check.vue'),
					meta: [{ name:"检疫管理",url:'/yzquarantine'}, 
						{name:"查看"}
					]
				},
				{
					path: '/yzquarantine/anti',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/quarantine/quara.vue'),
					meta: [{ name:"检疫管理",url:'/yzquarantine'},
						{name:"检疫"}
					]
				},
				{
					path: '/yzleave',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/leaveFactory/index.vue'),
					meta: [{ name:"出场管理"}, 
					
					]
				},
				{
					path: '/yzleave/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/leaveFactory/check.vue'),
					meta: [{ name:"出场管理",url:'/yzleave'}, 
						{name:"查看"}
					]
				},
				{
					path: '/yzleave/leave',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/leaveFactory/leave.vue'),
					meta: [{ name:"出场管理",url:'/yzleave'},
						{name:"出场"}
					]
				},
				{
					path: '/yzorder',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/order/index.vue'),
					meta: [{ name:"订单管理"},
						
					]
				},
				{
					path: '/yzorder/added',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/order/added.vue'),
					meta: [{ name:"订单管理",url:'/yzorder'},
						{name:'新增订单'}
					]
				},
				{
					path: '/yzorder/edit',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/order/added.vue'),
					meta: [{ name:"订单管理",url:'/yzorder'},
						{name:'编辑订单'}
					]
				},
				{
					path: '/yzorder/check',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/order/check.vue'),
					meta: [{ name:"订单管理",url:'/yzorder'},
						{name:'查看订单'}
					]
				},
				{
					path: '/yzdigtalMap',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/digtalMap/digtalMap.vue'),
					meta: [{ name:"数字地图"},
						
					]
				},
				{
					path: '/yzdigtalMap/trackmap',
					component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/digtalMap/trackmap.vue'),
					meta: [{ name:"数字地图",url:'/yzdigtalMap'},
						{name:"轨迹"}
					]
				},
				{
				    path: '/yzbase',
				    component: () => import(/* webpackChunkName: "403" */ '../components/page/breeding/base/base.vue'),
				    meta: [{ name: '基地管理'},
						
					]
				},
				
            ]
		},
        {
            path: '/login',
            component: () => import(/* webpackChunkName: "login" */ '../components/page/Login.vue'),
            meta: [{ name: '登录' }]
        },
        {
            path: '*',
            redirect: '/404'
        }
    ]
});
